package com.msb.mall.order.feign;

import com.msb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "mall-product")
public interface ProductFeignService {

    @GetMapping("/product/brand/all")
    public R queryAllBrand();

    @PostMapping("/product/spuinfo/list/skuIds")
    R getSpuInfoBySkuIds(List<Long> skuIds);

//    R getSpuInfoBySkuId(Long skuId);
}
